package com.zhangye.test.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.zhangye.test.model.ProxyQrCode;

@Repository
public interface ProxyQrCodeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProxyQrCode record);

    ProxyQrCode selectByPrimaryKey(Long id);

    List<ProxyQrCode> selectAll();

    int updateByPrimaryKey(ProxyQrCode record);
    
    List<Map<String,Object>> selectByPage(Map<String, Object> param);
    
    List<ProxyQrCode> selectByWhere(@Param("where") String where);
}